package com.uzhie.jt808.service;

import com.uzhie.jt808.msg.JT808MsgBean;

/**
 * Created by TangFei on 2018/8/9.
 * 多媒体协议
 */
public interface JT808MediaService extends JT808RequestService {

    /**
     * 多媒体事件信息上传 0X0800
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean eventUpload(JT808MsgBean msgBean);

    /**
     * 终端多媒体目录上传
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean devUploadMediaIndex(JT808MsgBean msgBean);

    /**
     * 多媒体数据上传 0X0801
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean dataUpload(JT808MsgBean msgBean);


    /**
     * 摄像头立即拍摄
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean cameraTake(JT808MsgBean msgBean);

    /**
     * 录音开始
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean soundRecordStart(JT808MsgBean msgBean);

    /**
     * 检索终端存储多媒体数据和提取
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean queryMediaData(JT808MsgBean msgBean);


    /**
     * 客流量信息上传
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean upPassenger(JT808MsgBean msgBean);

    /**
     * 文件上传完成通知
     *
     * @param msgBean
     * @return
     */
    JT808MsgBean upFileComplete(JT808MsgBean msgBean);

}
